package com.lab;

import android.util.Log;

import com.lab.kit.LabKit;
import com.lab.push.BBSPushProtocol;
import com.lab.push.MainPushProtocol;
import com.lab.user.UserLifecycle;


public final class Lab {

    private static LabConfig config;
    public static void initLab(LabConfig config){
        Lab.config = config;
    }


    public static UserLifecycle userLifecycle(){
        return config.userLifecycle();
    }

    public static MainPushProtocol mainPushProtocol(){
        return config.mainPushProtocol();
    }

    public static BBSPushProtocol bbsPushProtocol(){
        return config.bbsPushProtocol();
    }

    public static LabKit kit(){
        return LabKit.INSTANCE;
    }

    public static void log(String msg) {
        Log.d("Lab",msg);
    }
}
